package com.learning_paicoding.service;

import com.learning_paicoding.dto.UserLoginDTO;
import com.learning_paicoding.dto.UserRegisterDTO;
import com.learning_paicoding.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 用户登录表 服务类
 * </p>
 *
 * @author hph
 * @since 2025-07-06
 */
public interface UserService extends IService<User> {

    User getByTelephone(@NotBlank(message = "手机号不能为空") String telephone);

    User checkToken(String  token);


}
